Add a rep to a shipment

SecurityAuthToken
Request
path Parameters
shipmentId
required
string <uuid>

The id of the shipment

Request Body schema: application/json
required
role
integer

Id of the role

user
string <uuid>

Id of the user

Responses
201

Successfully added rep to shipment

Response Schema: application/json
id
string or null <uuid>
object (ShipmentRepRole)

Role a ShipmentRep has on a Shipment

object (User)
default

Default error response

post/shipments/{shipmentId}/reps/
Request samples
application/json
{
  • "role": 0,
  • "user": "76f62a58-5404-486d-9afc-07bded328704"
}
Response samples
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "role": {
    },
  • "user": {
    }
}
Copyright © Shipwell 2024. All right reserved.